package com.baizhi.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

//菜单导航
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Menu {
    /*CREATE TABLE `cmfz_menu` (
            `menu_id` int(11) NOT NULL AUTO_INCREMENT,
  `menu_name` varchar(50) DEFAULT NULL,
  `menu_url` varchar(500) DEFAULT NULL,
  `menu_parent_id` int(11) DEFAULT NULL,
    PRIMARY KEY (`menu_id`)*/
    private Integer menuId;
    private String menuName;
    private String menuUrl;
    private List<Menu> chilren;//每一个一级菜单下的二级菜单  菜单表的  内自连接  查询

}
